@import "./mixin.scss";

body,
page {
  background-color: #F3F6F8;
  color: $uni-text-color;
  font-size: 16px;
  user-select: none;
}

.placeholder {
  color: $uni-text-color-placeholder;
}

.collapse-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

//batch  start
.container{
	height: 100%;
	box-sizing: border-box;
	&.white-bg{
		background-color: #fff;
	}
	&.has-bottom-btn{
		padding-bottom: 132rpx;
	}
	&.has-top-search{
		padding-top: 140rpx;
	}
	.search{
		position: fixed;
		left:0;
		top: 0;
		width: 100%;
	}
	.btn-wrap{
		position: fixed;
		padding-bottom: 20rpx;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #fff;
		box-shadow: 0px -6px 6px 0px rgba(43, 66, 60, 0.04);
		z-index: 1
	}
	.popup{
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		height: 128rpx;
		box-sizing: border-box;
		background-color: #fff;
		z-index: 2;
		.i-btn{
			width: 160rpx;
		}
		.i-btn-warn{
			margin-right: 20rpx;
		}
		.btn-wrap{
			box-shadow: none;
		}
	}
}

.wait-receive-wrap{
	.title{
		.title-text{
			padding-left: 20rpx!important;
		}
		&::after{
			content: '';
			display: block;
			position: absolute;
			left:28rpx;
			top: 50%;
			margin-top: -15rpx;
			width: 6rpx;
			height: 30rpx;
			background: $uni-color-primary;
		}
	}
}
.list-wrap{
	margin: 28rpx 40rpx;
	.list-item{
		position: relative;
		background-color: #fff;
		box-shadow: 0 8rpx 17rpx 0 rgba(66, 119, 217, 0.12);
		border-radius: 6rpx;
		margin-bottom: 28rpx;
		.title{
			display: flex;
			align-items: center;
			position: relative;
			padding: 28rpx;
			@include line-1px(bottom,#E6E6E6);
			.right{
				position: absolute;
				right: 28rpx;
				top: 28rpx;
			}
			.tag{
				margin-left: 8rpx;
			}
		}
		.title-text{
			font-size: 35rpx;
			padding-left: 8rpx;
			max-width: 500rpx;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		.sel-cbx-icon{
			display: none;
		}
		&.select{
			.sel-cbx-icon{
				display: inline-block;
			}
		}
	}
	.note-wrap{
		padding: 28rpx;
		font-size: 30rpx;
		.note{
			position: relative;
			margin-bottom: 28rpx;
			padding-left: 160rpx;
			min-height: 46rpx;
			text:first-child{
				position: absolute;
				left: 0;
				top: 0;
				display: inline-block;
				color: #999;
				min-width: 140rpx;
			}
			&:last-child{
				margin-bottom: 0;
			}
		}
	}
	.slot-title{
		font-size: 28rpx;
	}
	&.goods-list-wrap{
		.list-item{
			margin-bottom: 0;
		}
	}
	.btn-wrap{
		border-top: 2rpx solid #E6E6E6;
		padding: 0;
		.i-btn-normal{
			border-width: 0;
		}
	}
}
.err-tips{
	font-size: 24rpx;
	color: red;
}

//batch  end